#define _CRT_SECURE_NO_WARNINGS 1

#include<iostream>
using namespace std;

class Data
{
public:
	Data()
	{
		_year = 2024;
		_month = 3;
		_day = 1;
	}
	Data(int year, int month = 20, int day = 1)
	{
		_year = year;
		_month = month;
		_day = day;
	}
		

	//void Init(int year, int month, int day)
	//{
	//	_year = year;
	//	_month = month;
	//	_day = day;
	//}

	void Print()
	{
		cout << _year << " " << _month << " " << _day << endl;
	}

private:
	int _year;
	int _month;
	int _day;
};

int main()
{
	//Data d1;
	//Data d1(2024, 5, 19);
	Data d1;


	//d1.Init(2024, 5, 19);
	d1.Print();
	return 0;
}